﻿using IMES.Common.Domain.DariusModel;
using IMES.Common.Dtos;
using IMES.Common.Infrastructure;
using MediatR;

namespace Darius.API.Application.Commands.Order
{
    public class OrderDetailSearchHandler : IRequestHandler<OrderDetailSearchCommand, Result>
    {
        private readonly IBaseRepositorys<SaleOrders> saleorderrepository;
        private readonly IBaseRepositorys<OrderDetails> orderdetailrepository;

        public OrderDetailSearchHandler(IBaseRepositorys<SaleOrders> saleorderrepository, IBaseRepositorys<OrderDetails> orderdetailrepository)
        {
            this.saleorderrepository = saleorderrepository;
            this.orderdetailrepository = orderdetailrepository;
        }

        public Task<Result> Handle(OrderDetailSearchCommand request, CancellationToken cancellationToken)
        {
            throw new NotImplementedException();
        }
    }
}
